<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"  prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>商品修改</title>
</head>
<body>  
<!-- 头部 -->
<%@ include file="../common/backend/top.jsp" %>
<!-- 左边菜单 -->
<div class="m_left">
	<%@ include file="../common/backend/left.jsp" %>
</div>

<div class="m_right" id="content">
	<div class="mem_tit">
		修改商品111
	</div>
	<br>
	<form action="#" method="post" enctype="multipart/form-data" id="productAdd" onsubmit="return checkProduct();">
		<table border="0" class="add_tab" style="width:930px;" cellspacing="0" cellpadding="0">
			<tbody>
				<tr>
					<td width="135" align="right">一级分类</td>
					<td colspan="3" style="font-family:'宋体';">
						<select name="categoryLevel1Id" 
								style="background-color:#f6f6f6;" 
								id="productCategoryLevel1" 
								onchange="queryProductCategoryList(this,'productCategoryLevel2');">
							<option value="-1" selected="selected">请选择...</option>
							<c:forEach items="${pc1_list }" var="pc1">
								<option value="${pc1.id }">${pc1.name }</option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">二级分类</td>
					<td>
						<select name="categoryLevel2Id" 
								style="background-color:#f6f6f6;" 
								id="productCategoryLevel2" 
								onchange="queryProductCategoryList(this,'productCategoryLevel3');">
							<!-- <option value="0" selected="selected">请选择...</option>

							<option value="654" selected="selected">面部护理</option>

							<option value="656">餐具</option>

							<option value="657">卫具</option>

							<option value="661">零食/糖果/巧克力</option>

							<option value="671">手机</option>

							<option value="674">手环</option>

							<option value="677">老年保健品</option>

							<option value="678">中年营养品</option>

							<option value="679">儿童保健品</option>

							<option value="682">旅行箱</option>

							<option value="683">手提箱</option>

							<option value="690">电脑</option>

							<option value="696">客厅专用</option> -->

						</select>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">三级分类</td>
					<td>
						<select name="categoryLevel3Id" style="background-color:#f6f6f6;" id="productCategoryLevel3">
						
						<!-- 	<option value="0" selected="selected">请选择...</option>

							<option value="655" selected="selected">少女派</option>

							<option value="658">叉子</option>

							<option value="659">锅</option>

							<option value="662">坚果</option>

							<option value="663">蜜饯</option>

							<option value="669">孕期教育</option>

							<option value="672">华为手机</option>

							<option value="673">联想手机</option>

							<option value="675">小米手环</option>

							<option value="680">脑白金</option>

							<option value="684">大型</option>

							<option value="685">小型</option>

							<option value="686">中型</option>

							<option value="687">大型</option>

							<option value="688">中型</option>

							<option value="689">小型</option>

							<option value="691">联想电脑</option>

							<option value="692">刀叉</option>

							<option value="693">碗筷</option> -->

						</select>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">商品名称</td>
					<td>
						<input type="text" value="香奈儿" class="add_ipt" name="name" id="name">（必填）
						<input type="hidden" name="id" value="733" id="id">
					</td>
				</tr>
				<tr>
					<td width="135" align="right">商品图片</td>
					<td>

						<img src="${ctx }/files/27A1789ED5764D82A5506DF3DC3933F9.jpg" width="50" height="50">

						<input type="file" class="text" name="photo"><span></span>
					</td>
				</tr>
				<tr>
					<td width="135" align="right">单价</td>
					<td>
						<input type="text" value="152.0" class="add_ipt" name="price" id="price">
					</td>
				</tr>
				<tr>
					<td width="135" align="right">库存</td>
					<td>
						<input type="text" value="94" class="add_ipt" name="stock" id="stock">
					</td>
				</tr>
				<tr>
					<td width="135" align="right">描述</td>
					<td>
						<textarea name="description">订单</textarea>
					</td>
				</tr>
				<tr>
					<td></td>
					<td>

						<input type="submit" value="确定修改" class="s_btn">

					</td>
				</tr>
			</tbody>
		</table>
	</form>
</div>
    </div>
<%@include file="../common/backend/bottom.jsp" %>
</body>
<script src="${ctx }/js/productCategory.js"></script>

<!--[if IE 6]>
<script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js"></script>
<![endif]-->
</html>
